home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / dev / basic / RIBlitzLibs.lha / riblitzlibs / docs / RIEncryptLib.doc < prev    next >
Encoding:
Text File  |  1995-01-28  |  1.5 KB  |  49 lines

  1. -----------------------------------------------------------------------------
  2. ====                   RI Encrypt Library V1.2 (C)1994              ====
  3. -----------------------------------------------------------------------------
  4.  
  5.                         Written By Stephen McNamara
  6.                         ©1994 Leading Edge Software
  7.  
  8.  
  9. Commands in the library:
  10.  
  11.         Encrypt memadr,len[,wheel1,wheel2,wheel3]
  12.         value.w=GetWheel(n)
  13.         Decrypt memadr,len,wheel1,wheel2,wheel3
  14.  
  15.  
  16.  
  17. Statement: Encrypt
  18. ------------------------------------------------------------------------
  19. Modes : Amiga/Blitz
  20. Syntax: Encrypt memadr,len[,wheel1,wheel2,wheel3]
  21.  
  22.   This will encrypt a block of memory starting at the address and running
  23. through to addresslength-1.  The optional wheel parameters allow you to 
  24. specify the start positions of the three wheels.  If you leave these out
  25. then the wheels' start positions will be randomised.
  26.  
  27.  
  28. Function: GetWheel
  29. ------------------------------------------------------------------------
  30. Modes : Amiga/Blitz
  31. Syntax: value=GetWheel(n)
  32.  
  33.   This will tell you the position that wheel n stopped at after encrypting
  34. a file.  n can range from 1 to 3 - YOU MUST REMEMBER THESE POSITIONS IF
  35. YOU WANT TO DECRYPT THE FILE (at the moment at least).
  36.  
  37.  
  38. Statement: Decrypt
  39. ------------------------------------------------------------------------
  40. Modes : Amiga/Blitz
  41. Syntax: Decrypt memadr,len,wheel1,wheel2,wheel3
  42.  
  43.     Same Encrypt except that it does the opposite and the wheel positions
  44. ARE NOT OPTIONAL.  The positions should be the ones you wrote down after
  45. encrypting the file.
  46.  
  47.  
  48. >> END
  49.